<template>
  <div class="demoLine">
    <div class="title">{{ title }}</div>
    <slot></slot>
  </div>
</template>

<script setup>

const props = defineProps({
  title: {
    type: String,
    default: "",
  },
});

</script>

<style lang="scss" scoped>
.demoLine {
  width: 100%;
  padding: 10px;

  .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
  }
}
</style>